package com.ruoyi.business.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;

/**
 * 订单费用组成配置项视图对象 order_fee_config
 *
 * @author ruoyi
 * @date 2024-04-20
 */
@Data
@ExcelIgnoreUnannotated
public class OrderFeeConfigVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    private String name;

    /**
     * 是否显示备注（Y=是,N=否）
     */
    @ExcelProperty(value = "是否显示备注", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "Y==是,N=否")
    private String isShowRemark;

    /**
     * 是否显示必须（Y=是,N=否）
     */
    @ExcelProperty(value = "是否显示必须", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "Y==是,N=否")
    private String isShowMust;

    /**
     * 是否默认（0=正常,1=停用）
     */
    @ExcelProperty(value = "是否默认", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0==正常,1=停用")
    private String status;


}
